package com.zqw.pojo;

import java.io.Serializable;
import java.util.Objects;

//角色实体类
public class AuthPojo implements Serializable {

    private int auid;
    private String auname;
    private String aupath;
    private String autype;
    private String group;
    private int aupid;

    private boolean check = false;

    public boolean isCheck() {
        return check;
    }

    public void setCheck(boolean check) {
        this.check = check;
    }



    @Override
    public String toString() {
        return "AuthPojo{" +
                "auid=" + auid +
                ", auname='" + auname + '\'' +
                ", aupath='" + aupath + '\'' +
                ", autype='" + autype + '\'' +
                ", group='" + group + '\'' +
                ", aupid=" + aupid +
                '}';
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public int getAuid() {
        return auid;
    }

    public void setAuid(int auid) {
        this.auid = auid;
    }

    public String getAuname() {
        return auname;
    }

    public void setAuname(String auname) {
        this.auname = auname;
    }

    public String getAupath() {
        return aupath;
    }

    public void setAupath(String aupath) {
        this.aupath = aupath;
    }

    public String getAutype() {
        return autype;
    }

    public void setAutype(String autype) {
        this.autype = autype;
    }

    public int getAupid() {
        return aupid;
    }

    public void setAupid(int aupid) {
        this.aupid = aupid;
    }

    @Override
    public boolean equals(Object o) {
        if (this.hashCode() == o.hashCode()) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AuthPojo authPojo = (AuthPojo) o;
        return auid == authPojo.auid;
    }

    @Override
    public int hashCode() {
        return Objects.hash(auid);
    }
}
